import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react-swc'

// https://vite.dev/config/
export default defineConfig({
  plugins: [react()],
  css: {
    preprocessorOptions: {
      sass: {
        modifyVars: {

        },
        // includePaths: ['path/to/sass/deps'],
        // prependData: '@import "./src/assets/css/global.scss";',
        javascriptEnabled: true //开启
      },
    }
  },
})
